<?php 
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');?>
<form method="post" action="?m=iappBus&c=manages&a=busitem&busid=<?php echo $businfo[busid];?>">
<table width="100%" cellpadding="0" cellspacing="1" class="table_form">
 	
	<tr>
		<th><?php echo L('车站名称')?>：</th>
		<td><?php echo $businfo['title']?></td>
	</tr>
	
	
	 <?php 
if(is_array($businfo[setting][type])){
	foreach($businfo[setting][type] as $k=>$r){
?>  
	<tr>
		<th><?php echo $r?>：</th>
		<td>
		
		<div style="float:left;">
		<textarea name="items[]" id="items_<?php echo $k ?>" cols="100"
			rows="10"><? print_r($iteminfo[items][$k])?></textarea>
			</div>
			<div style="float:left; padding-left:10px;">
			<?php echo L('<p>客车时刻表格式,一行一个班次</p>
			<font color="#959595">广州|票价345|发车时间：09:00、12:00</font><br>
			<font color="#959595">广州|票价345|发车时间：09:00、12:00</font><br>
			<font color="#959595">广州|票价345|发车时间：09:00、12:00</font><br>
			<font color="#959595">广州|票价345|发车时间：09:00、12:00</font><br>')?>
			</div>
			</td>
	</tr>
<?php 
	}
}
?>
	<tr>
		<td>&nbsp;</td>
		<td>
		<input type="submit" name="dosubmit" id="dosubmit" value=" <?php echo L('提交')?>" class="button">&nbsp;<input type="reset" value=" <?php echo L('重写')?> " class="button"></td>
	</tr>
</table>
</form>
</body>
</html>